package com.example.service;

import com.example.entity.Employee;
import com.example.entity.example.EmployeeExample;

import java.util.List;

public interface EmployeeService {
    List<Employee> getByExampleWithLimit(EmployeeExample example, Integer curPage, Integer pageSize);

    long getCountByExample(EmployeeExample example);

    void addEmployee(Employee employee);

    void removeById(Integer id);

    void updateSelectiveById(Employee employee);

    Employee getById(Integer id);
}
